package com.quanyue.haircut.user.service;

import com.quanyue.haircut.domain.entity.HaircutMerchant;
import com.quanyue.haircut.user.dto.MerchantDetail;

import java.util.List;

public interface HaircutMerchantService {
    void addMerchant(HaircutMerchant merchant);

    void updateMerchant(HaircutMerchant merchant);

    void deleteMerchant(Integer id);

    // 根据商户号查询商户信息
    HaircutMerchant selectMerchantByNo(Integer merchantNo);

    // 查询商户列表
    List <MerchantDetail> selectMerchantList(Integer fatherId);
}
